package com.flow.dao;

import java.util.List;

import com.flow.model.PagerModel;
import com.flow.model.UserBasic;

/**
 * 会员基本信息Dao接口
 * @author wang
 * @2015-12-5
 * IUserBasicDao.java
 * @param <T>
 *
 */
public interface IUserBasicDao<T> extends IBaseDao<T> {

	public boolean insertUserBasic(UserBasic userBasic);

	public boolean updateUserBasic(UserBasic userBasic);
	
	public boolean deleteUserBasic(UserBasic userBasic);
	
	public UserBasic findUserBasicByHql(String hql);

	public UserBasic findUserBasicByHql(String hql, Object param);

	public UserBasic findUserBasicByHql(String hql, List<Object> params);

	public int universalMethodUserBasic(String hql);
	
	public int universalMethodUserBasic(String hql, Object param);
	
	public int universalMethodUserBasic(String hql, List<Object> params);
	
	public List<T> findUserBasicAllByHql(String hql);

	public List<T> findUserBasicAllByHql(String hql, Object param);

	public List<T> findUserBasicAllByHql(String hql, List<Object> params);

	public PagerModel findUserBasicPagerModeled(PagerModel pager, String hql);
	
	public PagerModel findUserBasicPagerModeled(PagerModel pager, String hql, Object param);
	
	public PagerModel findUserBasicPagerModeled(PagerModel pager, String hql, List<Object> params);
}
